//
// Created by Administrator on 2022/2/20.
//

#ifndef CPP_LEARNING_STRING_MATCH_TEST_H
#define CPP_LEARNING_STRING_MATCH_TEST_H
#include "../src/string/match.h"
#include "../src/string/kmp.h"
#include <iostream>
void string_test(){
    char* p = "sdf";
    char* t = "shnfiuewgnosdfvrweg";

    int index1 = match_1(p, t);
    int index2 = match_2(p, t);

    int index3 = kmp_match(p, t);

    std::cout<<"match"<<std::endl;
}
#endif //CPP_LEARNING_STRING_MATCH_TEST_H
